package com.itheima.mapper1;

import com.itheima.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author wuyiqiang
 * @2022/6/18 16:14
 */
@Mapper
public interface DishFlavorClientMapper {

    /**
     * 根据菜品id查询口味信息
     * @param dishId
     * @return
     */
    @Select("select *from dish_flavors where dish_id=#{dishId}")
    List<DishFlavor> selectByDishId(String dishId);

}
